import React from 'react';
import ReactDOM from 'react-dom/client';
const root = ReactDOM.createRoot(document.getElementById('root'));
function Child(props){
	return <div>{props.msg}</div>
}
function Parent(){
	return (
		<div>
			<Child msg="hello"/>
		</div>
	)
}
root.render(<Parent />);